home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ShareWare OnLine 2
/
ShareWare OnLine Volume 2 (CMS Software)(1993).iso
/
util2
/
rfile113.zip
/
RFILE.DOC
< prev
next >
Wrap
Text File
|
1993-03-07
|
5KB
|
116 lines
RFILE Relative FILE size $7.00
Copyright (c) 1992 by R.P.McCormick
79 Rye Street
Broad Brook, CT 06016
Command line: RFILE [filespec] or [screenspec]
RFILE '?' or 'h' or 'H' brings up the help screen.
For registration information, see "REGINFO.TXT".
No parameters are required on the command line, but you can type
"RFILE ega" or "RFILE cga" to force it to operate in those modes.
The help screen is reachable with the function key F1 while
the graphics display is active.
If nothing but RFILE appears on the command line, the current
directory is examined. You can optionally enter the name of
another directory. example: RFILE B:\TEXT. Or, you could enter
a "Wildcard" extension such as RFILE *.TXT, and it will list
only the files with the .txt extension.
As a programmer, I find this feature useful to check the size
of all the source files in the directory I am working in.
It may be full of other files with extensions like .PRG, .CFG,
.OBJ, but if I have RFILE list only the .cpp files, I can see
at a glance which is the largest, and may need to be split.
I like to keep them under 5 pages in length.
I wrote RFILE because the DOS command "DIR" provides only
the size of each file in the current directory. I wanted
something to show graphically the size of each file relative
to the other files. To give a better view of which files are
taking up too much room on the disk.
A pie chart shows the size of each file relative to
the total of all files at the current level, sorted by size.
Subdirectories are ignored.
There is a list of the files to the right, with the
number of bytes in each, and a percent.
If the percentage is less than 1%, it prints a dot.
If there are more file names than can be displayed in one column,
a notice appears, typically "8 more..". If you want to
see the names that are off screen, use the arrow keys.
A bar chart shows the size of the current directory,
including only files at the current level, as a percent of the
whole disk. The bar, or "thermometer" uses full clusters, which is
a measure of how much disk space is used for the files. A file
containing one byte will take up 2048 bytes on a typical hard drive.
You may be able to print the CGA screen using DOS commands if your
printer is compatible. Type "GRAPHICS COLOR1" prior to using RDIR,
then hit shift-PrintScreen while viewing the CGA screen. The DOS
manual says this is for an "IBM Personal Computer Color Printer",
but it works fine with my old Epson MX-80.
To exit from the graphic screen, use the "Esc" key.
These are the types of directory names and filespecs I expect to see
typed on the command line after "RFILE". Any other variations may produce
unexpected results. The example assumes you are currently in a directory
on the C: drive named C:\TOOLS, and the B: drive is at the B:\TEXT dir.
CMD LINE DESCRIPTION EXAMPLE
(Nothing) Current directory C:\TOOLS
*.TXT Current directory, .TXT files only C:\TOOLS\*.TXT
C: Current directory C:\TOOLS
C:*.TXT Current directory, .TXT files only C:\TOOLS\*.TXT
C:\ Top level C: C:\
C:\TC As typed C:\TC
C:\TC\*.DOC As typed C:\TC\*.DOC
GRAPHICS Current dir, GRAPHICS sub C:\TOOLS\GRAPHICS
GRAPHICS\*.DOC " " " ", .DOC files only C:\TOOLS\GRAPHICS\*.DOC
C:GRAPHICS Current dir, GRAPHICS sub C:\TOOLS\GRAPHICS
\TC Current drive, TC dir C:\TC
\TC\*.DOC All .DOC files in Current drive,TC dir C:\TC\*.DOC
B: Current B: directory B:\TEXT
B:*.TXT All .TXT files in current B: dir B:\TEXT\*.TXT
B:\ Top level B: B:\
B:MISC Current B: dir, MISC sub B:\TEXT\MISC
ASP Ombudsman Statement:
~~~~~~~~~~~~~~~~~~~~~~~~
This program is produced by a member of the Association of
Shareware Professionals (ASP). ASP wants to make sure that the
shareware principle works for you. If you are unable to resolve
a shareware-related problem with an ASP member by contacting the
member directly, ASP may be able to help. The ASP Ombudsman can
help you resolve a dispute or problem with an ASP member, but
does not provide technical support for members' products.
Please write to the ASP Ombudsman at:
ASP Ombudsman
545 Grover Road
Muskegon, MI 49442-9427
U.S.A.
or send a CompuServe message via CompuServe MAIL to ASP Ombudsman
70007,3536.
WARRANTY
If you order a disk from me, and it arrives damaged, it will be
replaced at my expense if you notify me within 10 days of receipt.
I specifically disclaim all other warranties, expressed or implied,
including but not limited to damage to hardware and/or software from
the use of this product. Under no circumstances will I be liable for
any damages,lost profits or incidental or consequential damages
arising from your use or inability to use the program.